<h1>{$msg}</h1>
<div>
  <ul>
    {foreach $nav as $k => $v}
    <li><a href="{$v.link}">{$v.title}</a></li>
    {/foreach}
  </ul>
</div>
<div>
  {$content}
</div>
